package com.jiazhong.oop;

public class ApMath {
    public static void main(String[] args) {
        Math math=new Math();
        int sum1=math.getSum();
        int sum2=math.getSum();
        int mul=math.getMul(sum1,sum2);
        System.out.println("sum1="+sum1);
        System.out.println("sum2="+sum2);
        System.out.println("mul="+mul);
        math.setSpeak();
        set2Speak();
    }
    public static void set2Speak(){
        Math math2=new Math();
        math2.name="韩映辉";
        math2.speak="简单尼玛";
        System.out.println(math2.name+"说"+math2.speak);
    }
}
